package com.chrray.position.domain;

import com.chrray.position.enums.YesNoEnum;
import com.chrray.position.enums.app.FdUserRoleEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 意见反馈表 对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */

@Data
@ApiModel(description = "意见反馈表")
@TableName("fd_feedback")
public class FdFeedback   {
	@ApiModelProperty(value = "主键ID")
	@TableId(type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "用户ID")
	private Long userId;
    @ApiModelProperty(value = "反馈人")
    private String userName;
	@ApiModelProperty(value = "用户角色:雇工-0,雇主-1")
	private Integer userRole;

	@ApiModelProperty(value = "内容")
	private String content;

	@ApiModelProperty(value = "照片")
	private String photos;

	@ApiModelProperty(value = "反馈时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date feedbackTime;

	private Integer delFlag;

}
